<!DOCTYPE html>
<html>

<head>
    <title>关注</title>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="/js/plugins/bootstrap-4.1.1-dist/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/plugins/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/message.css"/>
    <script src="../js/common.js"></script>
    <script src="/js/plugins/chosen/chosen.jquery.js"></script>
    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
    <script src="/js/plugins/dialog2/dialog.min.js"></script>
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
    <script src="/js/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/strategyCatalogs.css"/>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <script>
        $(function () {
            //获取用户id
            var id = getParams();
            $.get("/attention/" + id.id + "/user", function (data) {
                $('#datalist').renderValues({list: data}, {
                    setHref: function (item, value) {
                        $(item).attr("href", $(item).data('href') + value);
                    }
                })
            })
        })
    </script>
    <style>
        body {
            text-align: center
        }

        .divcss5 {
            margin: 0 auto;
            width: 300px;
            height: 50px
        }
    </style>
</head>

<body>

<div align="left">
    <a href="/mine/profiles.html">
        <span><i class="fa fa-angle-left fa-2x"></i></span>
    </a>
</div>
<div class="divcss5">
    <span>关注我的人</span>
</div>
<div class="container " id="datalist">
    <div render-loop="list">
        <div id="comment">

            <hr>
            <div class="container row comment ">
                <div class="col-3 comment-head" style="padding-left:50px;">
                    <a data-href="/friend/profiles.html?id=" render-fun="setHref" render-key="list.id">
                        <img class="rounded-circle"
                             render-src="list.headImgUrl">
                    </a>
                </div>
                <div class="col comment-right">
                    <p class="authorName">
                        <span render-html="list.nickName"></span>
                    </p>
                    <span render-html="list.sign"></span>
                </div>
            </div>

        </div>
    </div>
</div>

</div>
</body>

</html>